package com.jeesite.modules.dataScreen.ssm;

import lombok.Data;

@Data
public class SmsTmpParamException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private String code;

    private String detail;

    public SmsTmpParamException(String code, String detail) {
        super(detail);
        this.code = code;
        this.detail = detail;
    }

    public SmsTmpParamException(String detail) {
        super(detail);
        this.code = "500";
        this.detail = detail;
    }
}
